const mongoose = require('mongoose');
// 创建Schema对象
const Schema = mongoose.Schema
var schema = new Schema({
    username: String, //类型需要首字母大写，因为这里调用的是String类型的构造函数
	password: String,
    img: String,
});
module.exports = mongoose.model('user', schema);